Reuse command-indicator code for script lines in ERC
authorF. Jason Park <jp@neverwas.me>
Mon, 11 Mar 2024 06:09:59 +0000 (23:09 -0700)
committerF. Jason Park <jp@neverwas.me>
Sat, 23 Mar 2024 22:10:32 +0000 (15:10 -0700)
commita46789b56af05e4cd31ab90495c9f2a4492a9b19
tree513f82606d677cb7e17eb945372738e5c32033b7
parentb9bd78f78d62383f2ff84ceecf8e490193594f17
Reuse command-indicator code for script lines in ERC

* lisp/erc/erc-goodies.el (erc-load-irc-script-lines): Move here from
main file and rework to always use `command-indicator' instead of only
partially, when available.  Also use internal "send-action" and
"send-message" interfaces to defer command-handler output until
command lines have been inserted.
* lisp/erc/erc.el (erc-process-input-line): Redo doc string.
(erc-process-script-line): Fold exceptionally overlong line.
(erc-load-irc-script-lines): Move to erc-goodies.el.  (Bug#67032)
lisp/erc/erc-goodies.el
lisp/erc/erc.el